// builtins.h
//	Built In Functions of the Shell
//
//		When NachOS run in shell, type built in commands will invoke
//			these functions
//
// Copyright (c) 2011 The Regents of the HuaZhong University of Technology.
// All rights reserved.  See copyright.h for copyright notice and limitation
// of liability and disclaimer of warranty provisions.

#ifndef BUILTIN_H
#define BUILTIN_H

typedef void builtInFunc(int, char**);

struct BuiltInCommand
{
	char cmdName[50];
	builtInFunc *cmdFun;
};

void help(int argc, char **argv);
void kill(int argc, char **argv);
void pwd(int argc, char **argv);
void alias(int argc, char **argv);
void unalias(int argc, char **argv);
void cd(int argc, char **argv);
void echo(int argc, char **argv);
void history(int argc, char **argv);
void exit(int argc, char **argv);
void quit(int argc, char **argv);

#endif
